package com.sz.zhiling.service;

import com.sz.zhiling.model.PageBean;
import com.sz.zhiling.model.TCity;

import java.util.List;

public interface ICityService {

    //查询所有城市 分页
    PageBean<TCity> getAllCity(int index, int size);

    //删除城市
    void deleteCity(int cid);

    //查询所有省份
    List<TCity> getAllProvinces();

    //搜索所有城市
    PageBean<TCity> searchAllCity(int i, int i1, TCity tCity);

    void updateCity(TCity tCity);

    void addCity(TCity tCity);

    TCity getCityByCid(int cId);

}
